package com.supplychainapi.common;

public enum TbshopCode {

	SHOPID_NOT_NULL("400101","商户号不存在"),
	SMS_OVER_TIMES("400102","该手机今日发送短信超过10次"),
	SMS_TOO_OFTEN("400103","该手机发送短信过于频繁, 请1分钟后再试"),
	SMS_SEND("400104","新注册码已发送到 %s 号码上"),
	MOBILE_NOT_NULL("400105","该商户手机号不存在"),
	DEVICE_DIFFERENCE("400106","解绑失败，设备ID不一致"),
	SHOPID_REGISTERCODE_ERROR("400107","商户号或者注册码错误"),
	SHOPID_UNBING_ERROR("400108","商户号解绑异常"),
	SHOPID_BING_ERROR("400109","商户号绑定异常"),
	NEW_REGISTERCODE_ERROR("400110","新注册码错误"),
	SHOPID_REGISTERCODE_EXIST("400111","该商户已被注册绑定"),
	SMS_SEND_FAIL("400112","短信发送异常");
	
	private String code;
	private String desc;

	private TbshopCode(String code, String desc) {
		this.code = code;
		this.desc = desc;
	}

	public String getCode() {
		return code;
	}

	public String getDesc() {
		return desc;
	}
	
}
